@import url('style\style-services-main.css');

/* ===============================
   Styles spécifiques à la page Qui sommes-nous
   =============================== */

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #0000FF 0%, #1e3a8a 100%);
    color: white;
    padding: 4rem 0;
    display: flex;
    align-items: center;
    min-height: 60vh;
}
.hero-content {
    flex: 1;
    padding: 0 2rem;
}
.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}
.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}
.hero-image {
    flex: 1;
    text-align: center;
    padding: 0 2rem;
}
.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

/* Mission, Vision, Values Section */
.mvv-section {
    background: #f8f9fa;
    padding: 5rem 0;
}
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    justify-content: center;
}
.mvv-card {
    background: white;
    padding: 2.5rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}
.mvv-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}
.mvv-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #0000FF, #1e3a8a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem;
}
.mvv-icon i {
    font-size: 2rem;
    color: #ffd700;
}
.mvv-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #181818;
}
.mvv-card p {
    color: #666;
    line-height: 1.6;
}

/* Timeline Section */
.timeline-section {
    background: white;
    padding: 5rem 0;
}
.timeline-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #181818;
}
.timeline {
    position: relative;
    margin: 0 auto;
    max-width: 900px;
    padding-left: 20px;
    border-left: 4px solid #0000FF;
}
.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 30px;
}
.timeline-date {
    position: absolute;
    left: -70px;
    top: 0;
    background: #0000FF;
    color: #fff;
    font-weight: bold;
    border-radius: 50px;
    padding: 0.5rem 1.2rem;
    font-size: 1.1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
    margin-right: 18px; /* Add space between date and content */
}
.timeline-content {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.2rem 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    margin-left: 45px;
}
.timeline-content h4 {
    margin: 0 0 0.5rem 0;
    color: #0000FF;
    font-size: 1.15rem;
}
.timeline-content p {
    margin: 0;
    color: #444;
}

/* Team Section */
.team-section {
    background: #f8f9fa;
    padding: 5rem 0;
}
.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #181818;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
    justify-content: center;
    align-items: stretch;
}
.team-member {
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    text-align: center;
    padding: 2rem 1.2rem 1.5rem 1.2rem;
    transition: transform 0.3s, box-shadow 0.3s;
}
.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.13);
}
.team-member img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}
.team-member h4 {
    margin: 0.5rem 0 0.3rem 0;
    color: #0000FF;
    font-size: 1.15rem;
}
.team-member p {
    color: #444;
    font-size: 1rem;
    margin: 0;
}

/* Harmonisation boutons fixes contact avec la page d’accueil */
.fixed-contact-buttons {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1000;
}
.fixed-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-decoration: none;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}
.fixed-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
}
.fixed-btn:active {
    transform: translateY(-1px) scale(1.02);
}
.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    animation: pulse-whatsapp 2s infinite;
}
@keyframes pulse-whatsapp {
    0% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3); }
    50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6); }
    100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3); }
}
.phone-btn {
    background: linear-gradient(135deg, #0000FF, #1e3a8a);
    animation: pulse-phone 2s infinite 0.5s;
}
@keyframes pulse-phone {
    0% { box-shadow: 0 8px 24px rgba(0, 0, 255, 0.3); }
    50% { box-shadow: 0 8px 24px rgba(0, 0, 255, 0.6); }
    100% { box-shadow: 0 8px 24px rgba(0, 0, 255, 0.3); }
}
.btn-tooltip {
    position: absolute;
    right: 70px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
}
.fixed-btn:hover .btn-tooltip {
    opacity: 1;
    visibility: visible;
    right: 75px;
}

/* Reveal Animation Classes */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== CTA Section Harmonisée ===== */
.cta-section {
    background: linear-gradient(135deg, #0000FF 0%, #1e3a8a 100%);
    color: white;
    padding: 2.5rem 0 2rem 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.1rem;
    margin-bottom: 0.7rem;
}

.cta-content p {
    font-size: 1.05rem;
    margin-bottom: 1.2rem;
    opacity: 0.93;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: #ffd700;
    color: #181818;
    padding: 0.7rem 1.3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-primary:hover {
    background: #e6c200;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 0.7rem 1.3rem;
    border: 2px solid white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    font-size: 1rem;
}

.btn-secondary:hover {
    background: white;
    color: #181818;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 900px) {
    .timeline {
        padding-left: 10px;
    }
    .timeline-date {
        left: -55px;
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
        margin-right: 12px;
    }
}
@media (max-width: 768px) {
    .hero-section {
        flex-direction: column;
        text-align: center;
        padding: 3rem 0;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .hero-subtitle {
        font-size: 1.1rem;
    }
    .mvv-grid, .team-grid {
        grid-template-columns: 1fr;
    }
    .timeline {
        padding-left: 0;
        border-left: none;
    }
    .timeline-date {
        position: static;
        display: block;
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
    .timeline-item {
        padding-left: 0;
    }
    .fixed-contact-buttons {
        bottom: 1rem;
        right: 1rem;
        gap: 0.8rem;
    }
    .fixed-btn {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    .btn-tooltip {
        display: none;
    }
}
@media (max-width: 700px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7rem 4vw;
    position: relative;
  }

  .menu-toggle {
    display: block;
    font-size: 1.7rem;
    color: var(--primary-blue);
    cursor: pointer;
    position: absolute;
    right: 2vw;
    top: 1.1rem;
  }

  .nav-links {
    display: none; /* caché par défaut */
    flex-direction: column;
    width: 100%;
    background: #fff;
    gap: 0.7rem;
    padding-top: 1rem;
  }

  .nav-links.open {
    display: flex; /* affiché si on ajoute la classe .open */
  }

  .nav-links li {
    width: 100%;
    margin-bottom: 0.5rem;
  }

  .nav-links a {
    width: 100%;
    padding: 1.2rem 2vw;
    box-sizing: border-box;
  }

  .nav-links .btn-devis {
    margin-top: 0.5rem;
    margin-left: 0;
    width: 95%;
    display: block;
    text-align: center;
  }

  .dropdown-content {
    position: static;
    box-shadow: none;
    min-width: 100%;
  }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    .hero-content, .hero-image {
        padding: 0 1rem;
    }
    .fixed-contact-buttons {
        bottom: 0.8rem;
        right: 0.8rem;
        gap: 0.6rem;
    }
    .fixed-btn {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}
